package com.foreveross.fetl.core.domain.task.repository;

import java.util.List;

import com.foreveross.fetl.common.jpa.IBaseRepository;
import com.foreveross.fetl.core.domain.task.FlightInfoEntity;

public interface FlightInfoEntityRepository extends IBaseRepository {

	public List<FlightInfoEntity> findByLine(String fromCityCode, String toCityCode);

	public List<FlightInfoEntity> findFlightInfoEntitys(String companyCode,
			String fromCityCode, String toCityCode);
	
	public List<FlightInfoEntity> findDistinctFlightInfoEntitys(String companyCode,
			String fromCityCode, String toCityCode) ;
	
	public List<FlightInfoEntity> findFlightInfoEntitys(String companyCode);
}
